package com.bw.mapper;

import com.bw.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Wrj
 * @Date: 2025/3/9 13:34
 * @Description:
 **/
public interface OrderMapper {
    List<Order> list(Order order);

    List<Community> listCommunity();

    List<Worker> listWorker();


    void updateOrder(Order order);

    void instrOrderDetial(@Param("orderId") Integer id, @Param("select") String select);

    Worker findworkerphone(String sp);


    Order listOrderById(Integer id);

    List<OrderDetail> listORderDetail(Integer id);

    int instrPj(Pj pj);

    List<Pj> listPj(Integer id);

    List<Community> listcommunity();

    List<Dict> listorderType();


    int add(Order order);

    List<OrderReport> report(@Param("startTime") String startTime, @Param("endTime") String endTime,@Param("groupId") String groupId);

    List<Dict> listgroup(String type);
}
